import { defineStore } from "pinia";
import { useGlobalUserStore } from "@/store/userGlobalStore";
export const useGlobalStore = defineStore("global-user", {
  state: () => {
    return {
      user:useGlobalUserStore()
    };
  },
  getters: {},
  actions: {
    setToken(token){
        this.token = token;
    }
  },
});